<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui" 
      xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
     
    <p:messages id="idmessages" for="logingrowl" severity="error" />
    <p:panelGrid id="panellogin" rendered="#{!cPri.esUsuario}" style="alignment-adjust:central;font-size:small;max-width: 98%" columns="1">  
    <f:facet name="header">  
        Login  
    </f:facet>  
        <p:row>
        Usuario: <br /><p:inputText id="username" 
                               value="#{usermanager.username}"
                               style="width: 90%"
                               />
        </p:row>
        <p:row>
        Password: <br /><p:password id="password"
                               value="#{usermanager.password}"
                               style="width: 90%"
                               />
        </p:row>
    <f:facet name="footer">  
        <h:commandButton 
                id="submit" 
                type="submit"
                value="OK"
                action="#{usermanager.validateUser}"
                />
    </f:facet>  
    </p:panelGrid> 
    
</ui:composition>